﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WCFServicesForCitrix.XServer
{
    //[DataContract(Name = "XSAuthTicket", Namespace = "http://WCFServicesForCitrix/DataContracts")]
    [DataContract(Name = "XSAuthTicket", Namespace = "http://WCFServicesForCitrix/XenServer")]
    public class XSAuthTicket
    {
        [DataMember(Name = "IsAuthenticated", IsRequired = true)]
        public bool IsAuthenticated {get;set;}
        [DataMember(Name = "ErrorInformation", IsRequired = true)]
        public string ErrorInformation {get;set;}
        [DataMember(Name = "UserServerAuth", IsRequired = true)]
        public bool UserServerAuth { get; set; }
        [DataMember(Name = "Expiration", IsRequired = true)]
        public DateTime Expiration { get; set; }
    }
}
